IE Kills Session After Exporting CSV [CakePHP]

Posted by OneBlueMidnight on Stack Overflow See other posts from Stack Overflow or by OneBlueMidnight
Published on 2012-04-04T05:18:00Z Indexed on 2012/04/04 5:28 UTC
Read the original article Hit count: 130

i have a web application that export CSV and i logged in as admin but what happened during the exportation the IE opens a new tab and export the CSV but what happens next when you click any of the link on the web app you will automatically logout!

This only happen on IE.

here is the header i used:

header("Content-type:application/vnd.ms-excel");
header("Content-disposition:attachment;filename=".$this->filename);

I am using cakephp 1.3.x.x

TIA :D

© Stack Overflow or respective owner

Related posts about php

Related posts about cakephp